var resumeLibraryObj = {
    addResumeData() {
        var url = "http://localhost:3000/resume";
        axios.get(url).then(function (res) {
            resumeLibraryObj.resumeList(res.data);
        });
      },
      resumeList(list){
    var htmlStr = "";
    list.forEach(function(item){
        htmlStr+=`
          <div class="bg-fff flex jc-sb p-15 lh15 bb3">
        <div >
          <p><span>${item.PersonName}</span></p>
          <p class="c666 f14"><span>${item.personalInfo1}</span><span class="ml-5">${item.personalInfo2}</span><span class="ml-5">${item.personalInfo3}</span><span class="ml-5">${item.personalInfo4}</span></p>
          <p class="c666 f14"><i class="iconfont icon-suoshuzhiwei"></i> <span>${item.experience1}</span></p>
        </div>
        <div class="person flex fdc aic jc-c">
            <img src="${item.imgUrl}" alt="">
            <span class="f12 c666">${item.time}</span>
        </div>
        </div>
        `;
    })
    $('.resume').html(htmlStr);
      }
}